import request from '@/utils/request'

// 重庆市工业用水定额-列表查询
const industrialWaterUseQuotaList = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuota/getWaterQuotaList',
    method: 'post',
    data: params
  })
}

// 重庆市工业用水定额信息（和生活用水）-新增
const addWaterUseQuota = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuota/addWaterQuota',
    method: 'post',
    data: params
  })
}

// 重庆市工业用水定额信息（和生活用水）-修改
const editWaterUseQuota = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuota/updWaterQuota',
    method: 'post',
    data: params
  })
}

// 重庆市城经营及生活用水定额-列表查询
const lifeWaterUseQuotaList = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuota/getWaterCityList',
    method: 'post',
    data: params
  })
}

// 工业、经营及生活用水定额-历史查询
const waterUseQuotaHistory = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuota/getWaterHistoryList',
    method: 'post',
    data: params
  })
}

// 重庆市农业用水定额-列表
const agriculturalWaterUseQuotaList = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuotaNY/getWaterQuotaNYList',
    method: 'post',
    data: params
  })
}

// 农业用水定额基本信息-新增
const addAgriculturalWaterUseQuota = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuotaNY/addWaterQuotaNY',
    method: 'post',
    data: params
  })
}

// 农业用水定额基本信息-修改
const editAgriculturalWaterUseQuota = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuotaNY/updWaterQuotaNY',
    method: 'post',
    data: params
  })
}

// 农业用水用水定额-历史查询
const agriculturalWaterUseQuotaHistory = function (params = {}) {
  return request({
    url: '/zy-api/api/waterQuotaNY/getWaterQuotaNyHistory',
    method: 'post',
    data: params
  })
}

export {
  industrialWaterUseQuotaList,
  addWaterUseQuota,
  editWaterUseQuota,
  lifeWaterUseQuotaList,
  agriculturalWaterUseQuotaList,
  addAgriculturalWaterUseQuota,
  editAgriculturalWaterUseQuota,
  waterUseQuotaHistory,
  agriculturalWaterUseQuotaHistory
}